﻿<%@ Page Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master" Inherits="System.Web.Mvc.ViewPage<MShop.Web.Models.ChangePasswordModel>" %>

<asp:Content ID="changePasswordTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Change Password
</asp:Content>

<asp:Content ID="changePasswordContent" ContentPlaceHolderID="MainContent" runat="server">
<div id="fullBox">
<div id="formOutBox">
  <div id="formTitle">
	 <div class="formTitleCard_c">修改密码</div>
	 <div class="formTitlRight">
	 
	 </div>
  </div>
  <div id="formBox">
  <% using (Html.BeginForm()) { %>
        <%: Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.") %>
        <table width="100%" border="0" cellspacing="0" cellpadding="3" class="formTable">
              <tr>
                <td width="120"><%: Html.LabelFor(m => m.OldPassword) %>：</td>
                <td width="105px;"><%: Html.PasswordFor(m => m.OldPassword,new { @class = "inputBox" }) %>
                    <%: Html.ValidationMessageFor(m => m.OldPassword) %></td>
				<td></td>
              </tr>
			  <tr>
                <td><%: Html.LabelFor(m => m.NewPassword) %>：</td>
                <td><%: Html.PasswordFor(m => m.NewPassword,new { @class = "inputBox" }) %>
                    <%: Html.ValidationMessageFor(m => m.NewPassword) %></td>
				<td></td>
			  </tr>
			  <tr>
                <td><%: Html.LabelFor(m => m.ConfirmPassword) %>：</td>
                <td><%: Html.PasswordFor(m => m.ConfirmPassword,new { @class = "inputBox" }) %>
                    <%: Html.ValidationMessageFor(m => m.ConfirmPassword) %></td>
				<td></td>
              </tr>
			  <tr>
                <td colspan="3" align="center"><input type="submit" value="修改密码" class="btn" /></td>
              </tr>
            </table>
		<% } %>
  </div>
</div>
</asp:Content>
